home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.hut.fi!usenet
- From: Osma.Ahvenlampi@hut.fi (Osma Ahvenlampi)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: SAS/C fopen("foo","a") -- is this a bug?
- Date: 10 Feb 1996 19:15:04 +0200
- Organization: What, me, organised?
- Sender: oahvenla@hyppynaru.cs.hut.fi
- Distribution: inet
- Message-ID: <jdjka1vrtk7.fsf@hyppynaru.cs.hut.fi>
- References: <zpfaa8aCCygGZ1@da23.darkness.gun.de>
- <4feh2j$7im@castle.nando.net>
- NNTP-Posting-Host: hyppynaru.cs.hut.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=US-ASCII
- In-reply-to: sekruege@nando.net's message of 9 Feb 1996 04:03:31 GMT
- X-Newsreader: Gnus v5.1
-
- In article <4feh2j$7im@castle.nando.net> sekruege@nando.net (Steve Krueger) writes:
- >Here's what's happening. The fopen() "a" mode is translated to an
- >Open() with MODE_OLDFILE, which succeeds, so the fopen() works.
-
- Um, wouldn't MODE_READWRITE be closer to "a" mode? I know "a" isn't
- supposed to read, but AmigaDOS doesn't check all that anyway.
-
- --
- Sin now -- Pray Later!
- |Osma Ahvenlampi <Osma.Ahvenlampi@hut.fi> http://www.hut.fi/~oahvenla/|
- | Cool : ClassAct + Voodoo + Amiga + ARTech + CompactPlayer + Inet225 |
- --
-